﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DashboardPersonal.ascx.cs" Inherits="PayrollHR.Administration.Modules.DashboardPersonalControl" %>
<a>
    Danh sách khách hàng cần nhập học
</a>
<asp:GridView ID="gvDashboardPersonal" runat="server" AutoGenerateColumns="False" Width="100%" DataKeyNames="CustomerID"
            OnPageIndexChanging="gvDashboardPersonal_PageIndexChanging" AllowPaging="true" 
            PageSize="10">
            <Columns>
                <asp:TemplateField HeaderText="Loại" ItemStyle-Width="5%">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("CutomerTypeName").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Case"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="7%" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("CustCaseWork").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Tên KH"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="54%" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("CustName").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Ngày NH"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="12%" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("ProDateOfAdmission").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Trường"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="20%" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("ProSchool").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Visa"
                    HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="10%" ItemStyle-HorizontalAlign="Left">
                    <ItemTemplate>
                        <%#Server.HtmlEncode(Eval("StatusVisa").ToString())%>
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="View" HeaderStyle-HorizontalAlign="Center"
                    ItemStyle-Width="16%" ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <a href="Administration/CustomerAdd.aspx?CustomerId=<%#Eval("CustomerID")%>" title="View detail">More
                        </a>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <PagerSettings PageButtonCount="50" Position="TopAndBottom" />
        </asp:GridView>